import {createStore,applyMiddleware,combineReducers} from 'redux'
import thunk from 'redux-thunk'
import {composeWithDevTools} from 'redux-devtools-extension'
import countReducer from './reducers/count'
import personReducer from './reducers/person'
const allReducer = combineReducers({
    countData : countReducer,
    personData : personReducer
})
export default createStore(allReducer,composeWithDevTools(applyMiddleware(thunk)))


